package sg.edu.nus.iss.vmcs.system;

import java.awt.event.*;

public class EndSimulationButtonListener implements ActionListener {

	private MainController mctrl;

	public EndSimulationButtonListener(MainController mc) {
		mctrl = mc;
	}

	public void actionPerformed(ActionEvent e) {
		/** @todo: Implement this java.awt.event.ActionListener method */
		mctrl.closeDown();

	}
}